package ncs.common.action;

import java.io.InputStream;

import ncs.common.util.SafeCode;

import com.opensymphony.xwork2.ActionSupport;

public class ActionSafeCode extends ActionSupport{
	private static final long serialVersionUID = 1L;
	private InputStream stream;
	@Override
	public String execute() throws Exception {
		SafeCode sf=new SafeCode(65,23);
		stream=sf.createSecurityCode();
		return SUCCESS;
	}
	public InputStream getStream() {
		return stream;
	}
	public void setStream(InputStream stream) {
		this.stream = stream;
	}

}
